//
//  SCNRequestAPI.swift
//  ShoucainuSwift
//
//  Created by 王家旭 on 2017/3/9.
//  Copyright © 2017年 Riluee. All rights reserved.
//

import UIKit

struct SCNRequestAPI {

//    static let ServiceAPI = "https://app-dev.shoucainu8.com/"
//    
//    static let H5API = "https://m-dev.shoucainu8.com/"

    static let ServiceAPI = "https://api.shoucainu8.com/"
    
    static let H5API = "https://wap.shoucainu8.com/"
    
    struct index {
        //首页
        let initNew = "\(ServiceAPI)index/initNew"
        //开屏广告
        let open = "\(ServiceAPI)Index/open"
        //检测新版本接口
        let checkGoLive = "\(ServiceAPI)Index/checkGoLive"
        
    }
    
    struct menber {
        //登录
        let login = "\(ServiceAPI)member/login"
        //登出
        let logout = "\(ServiceAPI)member/logout"
        //忘记密码
        let forgetPassword = "\(ServiceAPI)member/forgetPassword"
        //注册
        let register = "\(ServiceAPI)member/register"
        //修改密码
        let modifyPwd = "\(ServiceAPI)member/modifyPwd"
        //账户信息
        let memberAccountInfo = "\(ServiceAPI)member/memberAccountInfo"
        //实名认证
        let getFundUserStatus = "\(ServiceAPI)member/getFundUserStatus"
        //获取个人信息
        let memberAccount = "\(ServiceAPI)member/memberAccount"
        //修改昵称
        let modifyNickName = "\(ServiceAPI)member/modifyNickName"
        //获取邮寄地址
        let getAddress = "\(ServiceAPI)member/getAddress"
        //删除邮寄地址
        let getAddressDel = "\(ServiceAPI)member/getAddressDel"
        //保存邮寄地址
        let getAddressSave = "\(ServiceAPI)member/getAddressSave"
        //资金管理
        let fundlist = "\(ServiceAPI)member/fundlist"
        //获取我的投资
        let getInvest = "\(ServiceAPI)member/getInvest"
        //获取提现相关信息
        let withdraw = "\(ServiceAPI)member/withdraw"
        //提交提现申请
        let withdrawSubmit = "\(ServiceAPI)member/withdrawSubmit"
        //回款日历
        let calendar = "\(ServiceAPI)member/calendar"
        //体验金
        let explog = "\(ServiceAPI)member/explog"
        //我的优惠券
        let ticketList = "\(ServiceAPI)member/ticketList"
        //我的金币
        let myGold = "\(ServiceAPI)member/myGold"
        //兑换记录
        let myGoldRecharegLog = "\(ServiceAPI)member/myGoldRecharegLog"
        //我的红包列表
        let myredbag = "\(ServiceAPI)member/myredbag"
        //我的红包列表——新接口
        let myredbag_v2 = "\(ServiceAPI)member/myredbag_v2"
        //激活红包
        let sendRed_v2 = "\(ServiceAPI)member/sendRed_v2"
        //意见反馈接口
        let reedBack = "\(ServiceAPI)member/reedBack"
        //我是理财师
        let myinvite = "\(ServiceAPI)member/myinvite"
        //邀请好友列表
        let getinvitelist = "\(ServiceAPI)member/getinvitelist"
        //提醒用户领取红包
        let remind = "\(ServiceAPI)member/remind"
    }
    
    struct invest {
        //投资列表
        let getInvestListNew = "\(ServiceAPI)invest/getInvestListNew"
        //回款列表
        let investStatus = "\(ServiceAPI)invest/investStatus"
        //投资购买信息
        let investInfo = "\(ServiceAPI)invest/investInfo"
        //项目资料
        let borrowerInfo = "\(ServiceAPI)invest/borrowerInfo"
        //投资记录
        let TenderRecord = "\(ServiceAPI)invest/TenderRecord"
        //投资项目详情
        let investDetailNew = "\(ServiceAPI)invest/investDetailNew"

    }
    
    struct investTree {
        //领取理财树
        let createTree = "\(ServiceAPI)InvestTree/createTree"
        //理财树-获取奖励
        let getFruitLog = "\(ServiceAPI)InvestTree/getFruitLog"
        //理财树-养护记录
        let getWaterLog = "\(ServiceAPI)InvestTree/getWaterLog"
        //理财树-浇水日历
        let getWaterDays = "\(ServiceAPI)InvestTree/getWaterDays"
        //理财树-浇水日历-新接口
        let getWaterDaysNew = "\(ServiceAPI)InvestTree/getWaterDaysNew"
        //浇水
        let doWaterTree = "\(ServiceAPI)InvestTree/doWaterTree"
        //查询理财树信息（果子信息）
        let index = "\(ServiceAPI)InvestTree/index"
        //获取果子
        let getFruit = "\(ServiceAPI)InvestTree/getFruit"
    }
    
    struct sign {
        //提交签到
        let checkin = "\(ServiceAPI)QianDao/checkin"
        //获取签到数据
        let getData = "\(ServiceAPI)QianDao/getData"
        //获取签到奖励节点
        let hd = "\(ServiceAPI)QianDao/hd"

    }
    
    struct bank {
        //我的银行卡
        let userBank = "\(ServiceAPI)Bank/userBank"
        //解绑银行卡
        let unBind = "\(ServiceAPI)Bank/unBind"
        //绑定银行卡
        let userBindBank = "\(ServiceAPI)Bank/userBank"
    }
    
    struct other {
        //获取验证码
        let sendverifysms = "\(ServiceAPI)public/sendverifysms"
        //公告
        let noticeNew = "\(ServiceAPI)Company/noticeNew"
        //学习
        let cate = "\(ServiceAPI)Dailystudy/cate"
        //金币排行
        let integral = "\(ServiceAPI)Ranking/integral"
        //投资排行
        let invest = "\(ServiceAPI)Ranking/invest"
        //积分商城商品列表
        let appindex = "\(ServiceAPI)integral/appindex"
        //积分商城上哦兑换
        let appexchange = "\(ServiceAPI)integral/appexchange"
        //提交借款申请
        let getBorrowAdd = "\(ServiceAPI)Borrow/getBorrowAdd"
        //借款期限
        let getIndex = "\(ServiceAPI)Borrow/getIndex"
        //理财指南
        let manageMoney_index = "\(ServiceAPI)ManageMoney/index"
        
    }
}

